﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="wucProductType.ascx.cs" Inherits="Modules_WebsiteBackEnd_wucProductType" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Src="../Common/wucToolbar.ascx" TagName="wucToolbar" TagPrefix="uc1" %>
<%@ Register Src="wucProductTypeList.ascx" TagName="wucProductTypeList" TagPrefix="uc2" %>
<%@ Register Src="wucProductTypeDetail.ascx" TagName="wucProductTypeDetail" TagPrefix="uc3" %>
<asp:UpdatePanel ID="UpdatePanel" runat="server">
    <ContentTemplate>
        <table border="0" cellpadding="0" cellspacing="0" align="center" width="790">
            <tr>
                <td height="10" align="center" valign="middle">
                </td>
            </tr>
            <tr>
                <td align="center" valign="top">
                    <uc1:wucToolbar ID="objToolBar" runat="server" OnToolbarButtonClicked="objToolBar_ToolbarButtonClicked"
                        FunctionName="QUẢN LÝ LOẠI SẢN PHẨM" ToolbarStatus="NOMAL"></uc1:wucToolbar>
                </td>
            </tr>
             <tr>
                <td height="40" align="center" valign="middle">
                    <asp:Label ID="lblMessage" runat="server" ForeColor="Red" Font-Bold="True">LỰA CHỌN TÁC VỤ TRÊN THANH CÔNG CỤ</asp:Label>
                    <!-- UPdATE PROGRESS -->
                    <asp:UpdateProgress runat="server" ID="ajaxupUpdateProgresss">
                        <ProgressTemplate>
                            <table cellpadding="0" width="300" cellspacing="0" border="0" height="30px">
                                <tr>
                                    <td align="right" valign="middle">
                                        Đang xử lý dữ liệu&nbsp;&nbsp;
                                    </td>
                                    <td align="left" valign="middle">
                                        <asp:Image ID="imgLoading" runat="server" ImageUrl="~/Images/loadingimages/LoadingProgressBar.gif" />
                                    </td>
                                </tr>
                            </table>
                        </ProgressTemplate>
                    </asp:UpdateProgress>
                    <!-- UPdATE PROGRESS -->
                </td>
            </tr>
            <!-- LIST ================================================================== -->
            <tr>
                <td align="center" valign="middle">
                    <uc2:wucProductTypeList ID="ListDataControl" runat="server" Visible="true" 
                        OnRadGridItemsSelected="ListDataControl_RadGridItemsSelected" 
                        OnRadGridItemEdited="ListDataControl_RadGridItemEdited"
                        OnRadGridItemsDeleted="ListDataControl_RadGridItemsDeleted">
                    </uc2:wucProductTypeList>
                </td>
            </tr>
            <!-- LIST ================================================================== -->
            <!-- DETAIL ================================================================== -->
            <tr>
                <td align="center" valign="middle">
                    <uc3:wucProductTypeDetail ID="DetailDataControl" runat="server" Visible="false" />
                </td>
            </tr>
            <!-- DETAIL ================================================================== -->           
        </table>
    </ContentTemplate>
</asp:UpdatePanel>